/*
 * TestDataWebDeso.java 
 *
 * Copyright (c) 2006 Computer-Aided Integrated Systems Laboratory, 
 * St. Petersburg Institute for Informatics and Automation RAS http://cais.lisa.iias.spb.su 
 */

package guislicer;

import Ontology.Classes;
import Ontology.WDHier;

import java.util.Vector;

/** Test static data (wo reading WebDeso database).
 */
public class TestDataWebDeso {
    
    public Vector vClassAttr;
    public Vector vClasses;
    public Vector vAttributes;
    public Vector vWDHier;
    public Vector vWDAssoc;
    public Vector vWDFunc;
    public Vector vWDTax;
    
    /** Creates a new instance of TestDataWebDeso
     *
     *                                        39 --- IS-A --->  40
     *                     37 --- PART-OF --> 39 - PART-OF -->  40
     *  36 --- PART-OF --> 37 -------------------- PART-OF -->  40
     */
    public TestDataWebDeso() {
        Classes c36 = new Classes( 36, "Class36-Cyclones", 0, false, "Desc 36");
        Classes c37 = new Classes( 37, "Class37-Natural-disasters", 0, false, "Desc 37");
        Classes c39 = new Classes( 39, "Class39-Disasters", 0, false, "Desc 39");
        Classes c40 = new Classes( 40, "Flood", 39, true, "Desc 40");
        vClasses = new Vector<Classes>();
        vClasses.add(c36);
        vClasses.add(c37);
		vClasses.add(c39);
        vClasses.add(c40);
        
        // new WDHier( ParentClassID, ChildClass2ID(), true, wdhTemp1.getFatherClassID(), wdhTemp1.getCardMin(), wdhTemp1.getCardMax(), wdhTemp1.getIDFromDB() );
        // public WDHier( int iiClass1ID, int iiClass2ID, boolean ibIsInherited, int iiFatherClassID, int iiCardMin, int iiCardMax, int iiIDFromDB ))
        WDHier  hier36_37 = new WDHier(36, 37, true, 0, 0, 0, 0);
        WDHier  hier37_39 = new WDHier(37, 39, true, 0, 0, 0, 0);
        WDHier  hier37_40 = new WDHier(37, 40, true, 0, 0, 0, 0);
        WDHier  hier39_40 = new WDHier(39, 40, true, 0, 0, 0, 0);
        vWDHier = new Vector<WDHier>();
        vWDHier.add(hier36_37);
        vWDHier.add(hier37_39);
        vWDHier.add(hier37_40);
        vWDHier.add(hier39_40);
                
        vClassAttr = null;
        vAttributes = null;
        vWDAssoc = null;
        vWDFunc = null;
        vWDTax = null;
    }
    
    //public List<DocTable> select() {
    
    
    
}
